package edu.jd.movieplatform.admin.a_comment.dao;

import edu.jd.movieplatform.admin.a_comment.a_CommentDto;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface a_CommentDao {

    List<a_CommentDto> findCommentList(a_CommentDto dto);

    @Delete("delete from comment where comment_host_id=#{comment_host_id}")
    void deleteComment(Integer id);
}
